package cn.gl.org.service;

import cn.gl.org.domain.Shop;
import cn.gl.basic.service.IBaseService;
import cn.gl.org.domain.ShopAuditLog;
import cn.gl.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Dada
 * @since 2023-02-04
 */
public interface IShopService extends IBaseService<Shop> {
    /**
     * 店铺入驻
     * @param shop
     */
    void settlement(Shop shop);
    //审核通过
    void auditreject(ShopAuditLog log)throws MessagingException;
    //审核驳回
    void auditpass(ShopAuditLog log) throws MessagingException;
    //店铺激活
    void activation(Long shopId);
    List<ShopDto> echarts();
}
